import request from '@/utils/request'

export function list(data) {
  const params = new URLSearchParams(data);
  return request({
    url: `sys/sysUser/list?${params.toString()}`,
    method: 'get'
  })
}
export function getById() {
  return request({
    url: 'sys/sysUser/getById',
    method: 'post'
  })
}
export function insertUser(data) {
  return request({
    url: 'sys/sysUser/insertUser',
    method: 'post',
	data
  })
}
export function update(data) {
  return request({
    url: 'sys/sysUser/update',
    method: 'post',
	data
  })
}
export function deleteIds(data) {
  return request({
    url: 'sys/sysUser/deleteIds/'+data,
    method: 'post'
  })
}
